package com.andong.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * ClassName: LoginMapper
 *
 * @author XHU_WHY
 * @version V1.0
 * @since 2024/1/6 9:28
 */
@Mapper
public interface LoginMapper {
    Long selectByPhone(String phone, String identity);

    Long selectByUsernameAndPassword(String username, String password, String identity);

    Integer selectStatusById(Long id, String identity);
}
